function blockCollapse(e){e.preventDefault();var t=this.querySelector(".bcb-collapsed-content"),a=this.querySelector(".bcb-collapse");t.style.maxHeight?(t.style.maxHeight=null,a.setAttribute("aria-expanded","false")):(a.setAttribute("aria-expanded","true"),t.style.maxHeight=t.scrollHeight+"px")}function operatorsSort(e){e.preventDefault(),document.querySelectorAll(".bcb-sort-btn").forEach((function(e){e.classList.remove("active")})),e.target.classList.add("active");var t=this.classList[3];Array.prototype.slice.call(this.parentNode.querySelectorAll(".bcb-one-operator")).sort((function(e,a){return"highestbonus"===t?-e.getAttribute("data-orderbonus").localeCompare(a.getAttribute("data-orderbonus"),void 0,{numeric:!0}):"freespins"===t?-e.getAttribute("data-orderspins").localeCompare(a.getAttribute("data-orderspins"),void 0,{numeric:!0}):"new"===t?-e.getAttribute("data-orderdate").localeCompare(a.getAttribute("data-orderdate"),void 0,{numeric:!0}):"mostpopular"===t?-e.getAttribute("data-orderrating").localeCompare(a.getAttribute("data-orderrating"),void 0,{numeric:!0}):void 0})).forEach((function(e){e.parentNode.appendChild(e)}))}var bcbBlocksEvents=function(){var e=document.getElementsByClassName("bcb_counter_btn");if(e){for(var t=0;t0){for(var o=0;o0){var c=n[0];c.classList.remove("blur-code"),c.nextElementSibling.querySelector("span").innerText=c.dataset.btntext}}setTimeout((function(){r[0].scrollIntoView()}),500)}}}}var l=document.getElementsByClassName("bcb-collapse-parent");if(l)for(o=0;o